var webProjects = search.luceneSearch("TYPE:\\{http\\://www.alfresco.org/model/wcmappmodel/1.0\\}webfolder");

model.webProjects = [];

for (i = 0; i < webProjects.length; i++)
{
  model.webProjects[i]          = {};
  model.webProjects[i].name     = webProjects[i].name;
  model.webProjects[i].nodeRef  = webProjects[i].nodeRef.toString();
  model.webProjects[i].avmStore = webProjects[i].properties["wca:avmstore"];
}
